package com.jiepu.daily.corejava.advanceed.part7io.day0810;

import java.io.Serializable;

/**
 * @Description:
 * @author: xinjie
 * @date: 2020/8/10  8:19
 */
public class Student implements Serializable {

	static {

		System.out.println("Student  load...");
	}
	private int id;
	private String name;

	public Student(int id, String name) {
		this.id = id;
		this.name = name;
	}

	@Override
	public String toString() {
		return "Student{" +
				"id=" + id +
				", name='" + name + '\'' +
				'}';
	}
}
